//
// Created by Administrator on 2021/5/24.
// @file dbus_server.cpp
// @author jmdvirus
// @date 2021-05-24 15:32:34
//

#include "DBusServiceServer.h"

int main(int argc, char **args)
{
    // 有关 dispatcher 部分必须要在 connection 操作之前
    DBusServiceBase serviceBase;
    serviceBase.Init();

    DBus::Connection conn = DBus::Connection::SessionBus();

    DBusServiceServer server(conn);

    serviceBase.Run();

    return 0;
}